package com.css.fxfzypg.modules.baseData.repository;

import com.css.fxfzypg.modules.baseData.entity.Slope;
import com.css.fxfzypg.modules.baseData.queryParams.SlopeQueryParams;
import com.css.fxfzypg.modules.baseData.vo.SlopeVO;
import org.springframework.data.domain.Page;

import java.sql.Timestamp;
import java.util.List;

public interface SlopeRepository {
    SlopeVO updateSlope(SlopeVO slopeVO);
    Slope saveSlope(Slope slope);
    Page<Slope> getAllSlopeParams(SlopeQueryParams queryParams);
    Slope getSlopeById(String id);
    void deleteSlopesById(List<String> ids, Timestamp timestamp);
    List<Slope> getAll();
    void importExcel(List<Slope> slopes);

    List<Slope> getByTaskId(String taskId);
}
